package com.example.demo;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.swing.*;

/**
 * @Author :蕉绿
 * @Date : 2023/2/15 21:46
 * @Version : V1.0
 * @Description :
 */

@ResponseBody
@Controller
public class TestController {
    @Value("${}")
    private Spring spring;

    @RequestMapping("/hi")
    public void getTest() {
        System.out.println(spring);
    }

}
